﻿@using yeubongda
@using yeubongda.Models
@{
    Layout = "~/Views/Shared/_Layout.cshtml";
    ViewBag.Title = "XuLyTimNhanh";
    string tenBB  =ViewBag.tenBB;
    List<BAIBAO> list = ViewBag.listKetQua;
    int soTrang = ViewBag.SoTrang;
    int trangHienTai = ViewBag.TrangHienTai;
}

    <div class="floatL space10"></div>
    <div class="fll N_Title">
        <div class="fll NTitleLeft"></div>
        <div class="fll NTitleRepeat">
            <a class="NameCate_style">Kết quả tìm kiếm</a>
        </div>
        <div class="fll NTitleRight"></div>
    </div>
    <div class="fll N_Repeat" style="padding-bottom: 50px;">
    @for (int i = 0; (i < list.Count) && i < 10; ++i)
    {     
        <div class="sh10px"></div>
        <div class="floatL sr0">
            <a class="floatL" href="@Url.Content("~/Home/BaiBaoDetail/" + list[i].MABAI)">
            <img class="floatL" src="@Url.Content("~/Content/images/" + list[i].hinhanh)" alt="@list[i].TENBAI" style="border-width:0px;"></a>
            <div class="floatL sr01">
                <h1 class="floatL sr02">
                    <a href="@Url.Content("~/Home/BaiBaoDetail/" + list[i].MABAI)">@list[i].TENBAI</a>
                </h1>
                <span class="floatL sr03">@list[i].Ngay</span>
                <span class="floatL sr05">@list[i].TIEUDE</span>
            </div>
        </div>
        
    }
    </div>
    <div class="fll N_foot"></div>

    <div class="floatL space10"> </div>
   <!-- <div class="fll N_Repeat" style="padding-bottom: 50px;">
                
        <div class="floatL sr06">
            <div>
	
                <div class="pagination">
                    <div class="limit">
                        <div>
                             @for (int i = 1; i <= soTrang; ++i)
                             {
                                 if (trangHienTai == i)
                                 {
                                    <span class="current">@trangHienTai</span>
                                 }
                                 else
                                 { <a  href="@Url.Content("~/Home/XuLyTimNhanhPhanTrang/" )?page=@i?tenBB=@tenBB"> @i</a>}
                             }
                        </div>
                    </div>
                    <div class="limit"></div>
                </div>
        
            </div>
        </div>
    </div>-->
    <div class="fll N_foot"></div>
